import {
  createMemoryHistory,
  createWebHashHistory,
  createRouter,
} from "vue-router";

import IntroView from "@/views/IntroView/index.vue";
import ProcedureView from "@/views/ProcedureView/index.vue";
import TransferView from "@/views/TransferView/index.vue";

const routes = [
  { path: "/", component: IntroView },
  { path: "/Procedure", component: ProcedureView },
  { path: "/Transfer", component: TransferView },
  // { path: "/about", component: AboutView },
];

const router = createRouter({
  // history: createMemoryHistory(),
  history: createWebHashHistory(),
  routes,
});

export { router, routes };
